package com.w7vm.menuweb.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.w7vm.menuweb.entity.BeneficioMsgSy;

@Stateless
public class BeneficioMsgDAO extends GenericDAO<BeneficioMsgSy> {

	
	@PersistenceContext
	private EntityManager em;
	
	public BeneficioMsgDAO() {
		super(BeneficioMsgSy.class);
	}
	
	
	public List<BeneficioMsgSy> findBeneficiosMsgByAll(){
		System.out.println("[IAM-EJB][findMsgeneficioslByAll] :");
		return super.findByAll(BeneficioMsgSy.FIND_BENEFICIOS_BY_ALL);

	}
	
	
}
